Le due versioni sono allineate blocco per blocco, nell’ordine del testo: titolo, l’essenziale, poi paragrafo per paragrafo. Quando la traduzione ha fuso o diviso un paragrafo, la casella corrispondente resta vuota — non accostiamo mai due passaggi a occhio.
Text-to-SQL means turning a plain-language question into the query a database can run. A team from the Hong Kong University of Science and Technology (HKUST) has just shown that a 8B-parameter model, trained the right way, can answer such questions better than models four times its size. On Spider 2.0-SQLite, a benchmark of enterprise-style database tasks, the 8B model rose from 15.5% to 45.2%, and a 14B version reached 54.8%.
La traduzione da linguaggio naturale a SQL (text-to-SQL) consiste nel trasformare una domanda formulata in linguaggio semplice nella query che un database può eseguire. Un team dell'Università di Scienza e Tecnologia di Hong Kong (HKUST) ha appena dimostrato che un modello da 8 miliardi di parametri, addestrato nel modo giusto, può rispondere a tali domande meglio di modelli quattro volte più grandi. Su Spider 2.0-SQLite, un benchmark di attività su database in stile aziendale, il modello da 8B è passato dal 15,5% al 45,2%, e una versione da 14B ha raggiunto il 54,8%.
The system, HarnessSQL, is built on DeepSeek's open-source Harness agent framework, the software layer that gives a model tools and lets it work through several steps in a row. The core component, DSH-SQL, gives the model four tools: listing tables, reading schemas, executing queries and submitting a final answer. The team built 79 sandboxed databases from Spider 2.0-Lite and Spider 2.0-DBT, converting DuckDB projects to SQLite, and ran them read-only with a 60-second timeout. Training starts with supervised fine-tuning on full agent trajectories, averaging 11,800 tokens, 16 turns and 14 query executions. The tool outputs are masked out of the loss, so the model learns from its own steps rather than from the database's replies. Reinforcement learning with DAPO, one of several methods the team compared, comes next.
Il sistema, HarnessSQL, è costruito sul framework di agenti open source Harness di DeepSeek, lo strato software che fornisce a un modello degli strumenti e gli permette di lavorare attraverso più passaggi di seguito. Il componente centrale, DSH-SQL, dà al modello quattro strumenti: elencare le tabelle, leggere gli schemi, eseguire le query e inviare una risposta finale. Il team ha costruito 79 database in sandbox a partire da Spider 2.0-Lite e Spider 2.0-DBT, convertendo i progetti DuckDB in SQLite, e li ha eseguiti in sola lettura con un timeout di 60 secondi. L'addestramento inizia con una messa a punto supervisionata su traiettorie complete di agente, di media 11.800 token, 16 turni e 14 esecuzioni di query. Gli output degli strumenti sono esclusi dalla funzione di perdita, così il modello impara dai propri passi piuttosto che dalle risposte del database. Viene poi l'apprendimento per rinforzo con DAPO, uno dei vari metodi che il team ha confrontato.
The gap with larger models is the headline. The three 32B baselines, OmniSQL-32B, Arctic-Text2SQL-32B and Qwen2.5-Coder-32B, scored between 14.8% and 16.3% on Spider 2.0-SQLite. On LiveSQLBench, a second benchmark, the 8B and 14B models reached 24.8% and 28.5%, against 7.0% to 8.9% for the 32B baselines.
Il divario con i modelli più grandi è il dato principale. I tre baseline da 32B, OmniSQL-32B, Arctic-Text2SQL-32B e Qwen2.5-Coder-32B, hanno ottenuto tra il 14,8% e il 16,3% su Spider 2.0-SQLite. Su LiveSQLBench, un secondo benchmark, i modelli da 8B e 14B hanno raggiunto il 24,8% e il 28,5%, contro il 7,0% - 8,9% dei baseline da 32B.
The ablations show where the gains come from. Reinforcement learning applied directly reached only 20.0%, and supervised training alone gave 30.4% for the 8B model and 37.8% for the 14B. Trajectories collected without the harness yielded just 9.6%. Context length mattered too: the 8B model scored 27.4% with an 8K window and 45.2% at 32K. Among reinforcement learning algorithms, GRPO reached 40.7%, GSPO 43.7% and DAPO 45.2%.
Le ablazioni mostrano da dove vengono i guadagni. L'apprendimento per rinforzo applicato direttamente ha raggiunto solo il 20,0%, mentre il solo addestramento supervisionato ha dato il 30,4% per il modello da 8B e il 37,8% per quello da 14B. Le traiettorie raccolte senza l'harness hanno prodotto appena il 9,6%. Anche la lunghezza del contesto conta: il modello da 8B ha ottenuto il 27,4% con una finestra di 8K e il 45,2% con 32K. Tra gli algoritmi di apprendimento per rinforzo, GRPO ha raggiunto il 40,7%, GSPO il 43,7% e DAPO il 45,2%.
These are the team's own numbers, reported in an arXiv paper posted in October, and the coverage contains no independent evaluation. The tests run on the team's sandboxed copies of databases, so they describe performance on these benchmarks, not on production systems. For companies that want staff to query their own databases in plain language, the finding is that a smaller model, trained this way, can outperform much larger ones on these tests. The paper gives no timeline for use beyond research and no pricing, but the code is public on GitHub, and it joins a growing set of projects built on DeepSeek Harness since its open-source release. The authors' conclusion is that a well-designed harness, rather than model scale alone, is what unlocks multi-step reasoning over real databases.
Si tratta dei risultati del team, pubblicati in un articolo su arXiv a ottobre, e la copertura non contiene alcuna valutazione indipendente. I test sono stati eseguiti sulle copie in sandbox dei database del team, quindi descrivono le prestazioni su questi benchmark, non sui sistemi di produzione. Per le aziende che vogliono che il personale interroghi i propri database in linguaggio naturale, il risultato è che un modello più piccolo, addestrato in questo modo, può superare modelli molto più grandi in questi test. L'articolo non indica alcuna scadenza per un uso al di fuori della ricerca né prezzi, ma il codice è pubblico su GitHub e si unisce a un numero crescente di progetti costruiti su DeepSeek Harness dalla sua pubblicazione open source. Secondo la conclusione degli autori, a sbloccare il ragionamento in più passaggi su database reali è un harness ben progettato, più che la sola scala del modello.