Deprecated: Creation of dynamic property Timber\Site::$pingback is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Site.php on line 180

Deprecated: Creation of dynamic property Timber\User::$name is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/User.php on line 118

Deprecated: Creation of dynamic property Timber\Post::$has_disclaimer is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_edit_lock is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_edit_last is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_thumbnail_id is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$onesignal_meta_box_present is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$onesignal_send_notification is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$onesignal_modify_title_and_content is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$onesignal_notification_custom_heading is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$onesignal_notification_custom_content is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$tipologia is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_tipologia is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$attributi is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_attributi is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$in_evidenza_newsletter is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_in_evidenza_newsletter is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$inviato_in_newsletter is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_inviato_in_newsletter is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$fonte is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_fonte is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$fonte_url is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_fonte_url is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_primary_category is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_primary_blz_affiliation_attributes is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_primary_content_type is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_primary_attributes is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_primary_speciali is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_focuskw is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_metadesc is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_linkdex is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_content_score is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_focuskeywords is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_keywordsynonyms is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_estimated-reading-time-minutes is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$response_body is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$status is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_indexnow_last_ping is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_date_gmt is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$comment_status is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$ping_status is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_password is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_name is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$to_ping is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$pinged is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_modified is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_modified_gmt is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_content_filtered is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$guid is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$menu_order is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_mime_type is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$comment_count is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$filter is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71
AutoThink rende le AI più abili nel ragionamento:+43% di performance con meno token

AutoThink rende le AI più abili nel ragionamento:+43% di performance con meno token

AutoThink è un framework innovativo progettato per migliorare le capacità di ragionamento dei Large Language Models (LLM), superando l’inefficienza dell’approccio uniforme sino ad oggi generalmente utilizzato per rispondere alle domande dell'utente.

I moderni LLM (Large Language Models) tendono ad applicare lo stesso “tempo di riflessione” a qualunque input ricevuto, sia esso una semplice addizione o una dimostrazione matematica complessa. Questo approccio è intrinsecamente inefficiente: utilizza risorse in eccesso su task semplici e ne assegna troppo poche a quelli complessi, penalizzando così la qualità del ragionamento.

AutoThink si inserisce in questo contesto come una soluzione innovativa che introduce meccanismi adattivi di allocazione delle risorse computazionali e un sofisticato sistema di steering vector, in grado di orientare il modello verso pattern di ragionamento ottimizzati e contestualmente rilevanti.

AutoThink: un framework adattivo per il ragionamento LLM

Quando si parla di modelli generativi di linguaggio, il “ragionamento” si riferisce alla capacità del modello di elaborare informazioni in modo logico e coerente per risolvere problemi complessi, rispondere a domande articolate o trarre conclusioni a partire da dati forniti. Questo processo implica la generazione di una sequenza di passaggi intermedi, una “catena di pensiero”, che guida il modello verso una risposta finale.

Ad esempio, la tecnica Chain-of-Thought ha dimostrato che fornire al modello esempi di ragionamento passo-passo può migliorare significativamente le sue prestazioni in compiti che richiedono deduzione logica, calcoli matematici o comprensione del senso comune. In questo approccio, il modello è incoraggiato a “pensare ad alta voce“, esponendo il processo logico che conduce alla risposta finale.

Tuttavia, è importante notare che, sebbene i LLM possano emulare il ragionamento umano in molti casi, spesso si basano su correlazioni apprese durante l’addestramento piuttosto che su una comprensione profonda o una logica formale. Il termine “ragionamento”, quindi, nel caso dei LLM si riferisce alla capacità di simulare processi logici attraverso sequenze di testo coerenti, ma con limitazioni legate alla mancanza di una comprensione autentica e alla dipendenza dai pattern statistici precedentemente appresi.

Le novità introdotte da AutoThink

Il progetto AutoThink introduce tre innovazioni chiave che migliorano in modo significativo le capacità di ragionamento dei modelli.

  • Classificazione della complessità delle query. L’input è analizzato e classificato automaticamente come ad alta o bassa complessità. La classificazione si basa su un modello adattivo oppure su euristiche linguistiche, se il modello non è disponibile.
  • Allocazione dinamica del budget di token. Il numero di token destinati al ragionamento è calibrato sulla base della complessità. Una dimostrazione logica può quindi ricevere fino al 90% del budget disponibile, mentre una domanda semplice potrà essere risolta con un minimo dispendio.
  • Steering vector per il ragionamento guidato. Questi vettori manipolano le attivazioni interne del modello in modo mirato, inducendo specifici comportamenti di ragionamento: accuratezza numerica, profondità analitica, autocorrezione, esplorazione di alternative, organizzazione logica.

Architettura e implementazione tecnica

AutoThink si integra con qualsiasi modello LLM compatibile con l’ambiente Python e la libreria transformers. La configurazione consente un controllo fine delle dinamiche di pensiero, adattando il comportamento a seconda del modello impiegato.

Come spiega Asankhaya Sharma, per procedere con l’installazione basta impartire il comando che segue:

pip install optillm

Qui un esempio concreto di codice Python per un utilizzo di base. Il codice utilizza un modello di linguaggio (LLM) per generare una risposta sofisticata e ragionata a una domanda dell’utente, potenziando il “ragionamento guidato” tramite la libreria optillm e gli steering vectors. In questo modo è possibile guidare il comportamento del modello secondo “pattern cognitivi” desiderati (accuratezza, profondità, autocorrezione,…).

Conclusioni

AutoThink dimostra che è possibile migliorare radicalmente le capacità di ragionamento dei modelli linguistici tramite un’allocazione dinamica e intelligente delle risorse computazionali, unita a meccanismi di guida attivati a livello vettoriale. Il framework è progettato per essere indipendente dal modello, efficiente nei consumi, altamente configurabile e immediatamente integrabile.

Con AutoThink, si apre la strada a LLM più attenti al contesto e capaci di adattare la propria strategia cognitiva al problema posto, in maniera ancora più simile a come farebbe un essere umano.

Ti consigliamo anche

Link copiato negli appunti