Gabriel Lucas Barbosa

Sobre mimAbout me

Sou um estudante da UFPR e, hoje, divido meu tempo entre a faculdade, o trabalho e a pesquisa. I'm a student at UFPR and, right now, I split my time between university, work and research.

Fora disso, curto tocar violão, ouvir música, jogar e criar coisas por aí. Outside of that, I like playing the guitar, listening to music, gaming and making things here and there.

ver maissee more

Por dentro das decisões de um modelo. Inside the decisions a model makes.

Eu estudo inteligência artificial explicável, que é a parte da área que tenta mostrar por que um modelo decidiu o que decidiu. Comparo duas arquiteturas que enxergam imagem de formas bem diferentes, uma rede convolucional e um transformer, e vejo o que cada explicação diz sobre a mesma decisão. I study explainable artificial intelligence, the part of the field that tries to show why a model decided what it decided. I compare two architectures that see images in very different ways, a convolutional network and a transformer, and look at what each explanation says about the same decision.

os métodosthe methods Alguns dos métodos que pesquiso e uso são Grad-CAM, occlusion, integrated gradients, Chefer e TokenTM, entre outros. Nenhum deles garante uma resposta exata sozinho, cada um mostra um pedaço diferente da mesma decisão. Some of the methods I research and use are Grad-CAM, occlusion, integrated gradients, Chefer and TokenTM, among others. None of them guarantees an exact answer on its own, each one shows a different piece of the same decision.
ver mais sobre a pesquisasee more about the research

parece uma explicação clara. Mas quem garante que é confiável? it looks like a clear explanation. But what guarantees it can be trusted?

Uma foto do Max com o mapa do Grad-CAM por cima. A lâmina desliza para comparar a foto original com o mapa que o modelo produziu. A photo of Max with the Grad-CAM map over it. The sheet slides to compare the original photo with the map the model produced.
Photo of Max, a border collie, looking at the camera. The same photo of Max with the Grad-CAM heat map overlaid, warmest over the head and muzzle. The model (ResNet50) classified the photo as border collie, with 50.2% confidence.

o palpite do modelothe model's guess

border collie50,2%50.2%

collie14,3%14.3%

modelomodel
ResNet50
entradainput
224 × 224

Antes de perguntar se a explicação é confiável, vem outra pergunta. Before asking whether the explanation can be trusted, there is another question first. O que faz um modelo mudar de ideia? What makes a model change its mind?

Antes de chegar à Ciência da Computação, cursei Matemática na UFPR e fiz o curso de Aprendizagem Industrial em Eletricista de Manutenção Eletroeletrônica pelo SENAI, enquanto trabalhava como aprendiz na Petrobras. Foram experiências bem diferentes, mas que acabaram influenciando bastante a forma como gosto de aprender.

Hoje, trabalho com desenvolvimento de software e faço iniciação científica em Inteligência Artificial Explicável (XAI) na UFPR. Gosto principalmente de coisas que começam com um problema real ou uma curiosidade e acabam me fazendo pesquisar, testar, errar, refazer e construir alguma coisa para entender melhor.

Também gosto de compartilhar o que aprendo. Já dei aulas particulares de Matemática e fui monitor de Fundamentos de Programação. Explicar um assunto para outra pessoa quase sempre me obriga a entendê-lo melhor também, e isso acabou virando uma parte importante da forma como eu estudo e trabalho.

Before getting to Computer Science, I studied Mathematics at UFPR and took the industrial apprenticeship in electrical and electronics maintenance at SENAI, while working as an apprentice at Petrobras. They were very different experiences, but they ended up shaping the way I like to learn.

These days I work with software development and do undergraduate research in Explainable AI (XAI) at UFPR. I mostly like things that start with a real problem or a curiosity and end up making me research, test, fail, redo and build something to understand it better.

I also like sharing what I learn. I have privately tutored Mathematics and was a teaching assistant for Fundamentals of Programming. Explaining something to someone else almost always forces me to understand it better myself too, and that ended up becoming an important part of how I study and work.

palpite do classificadorthe classifier's guess

Ele lê o texto ao lado, nunca o nome do curso, e arrisca um palpite. Escolha quanto ele lê, tire sinais, veja o que muda. It reads the text beside it, never the course name, and takes a guess. Choose how much it reads, remove signals, watch what changes.

sim, esse texto é sobre mim. yes, this text is about me. escondi o nome do curso e algumas marcas de tempo e de contexto. dá pra ver o palpite mudar conforme ele lê mais. I hid the course name and some time and context cues. you can watch the guess change as it reads more.

Coisas que eu construí. Things I have built.

Os projetos que eu construí, entre aplicativos, ferramentas e experimentos menores. Alguns prontos, outros ainda em andamento. The projects I've built, from apps to tools and smaller experiments. Some finished, some still in progress.

ver página completasee full page

Repositório para estudosStudy repository

Comecei durante a monitoria, com o objetivo de criar um lugar único onde os alunos pudessem estudar, tirar dúvidas e encontrar avaliações antigas. Continuei escrevendo depois que a monitoria acabou, e ainda escrevo. É divulgado por alguns professores da disciplina. I started it during my teaching assistantship, aiming to build a single place where students could study, look things up and find old exams. I kept writing after the assistantship ended, and I still do. Some of the course's professors recommend it.

São 19 aulas, 19 exercícios de debug e 7 listas com gabarito, além dos outros materiais. Mantido ativamente desde maio de 2026. Parte foi cedida por professores da disciplina, com autorização. There are 19 lessons, 19 debugging exercises and 7 problem sets with solutions, plus other materials. Actively maintained since May 2026. Part of it was shared by the course's professors, with permission.

Repository banner with import fundamentos, Fundamentos de Programação, CI182/CI240 UFPR

docs/debug/dificil/02_caixa_registradora.py MIT · CC BY-SA

64    def calcular_total(self, codigo_cupom=None):68        melhor_desconto_pct = desconto_cupom + desconto_faixa69        desconto = sub * melhor_desconto_pct70        apos_desconto = sub - desconto71        imposto = sub * 0.1072        total = apos_desconto + imposto73        return total, desconto, imposto, melhor_desconto_pct
$ python3 02_caixa_registradora.py
========================================
  Arroz          1x R$  9.00 = R$   9.00
...
KeyError: 'quantidade'
Um dos exercícios de debug de nível difícil, com os erros deixados de propósito. One of the hard-level debugging exercises, with the bugs left in on purpose.

Norte

gestor financeiromoney manager

Fiz o Norte para organizar meu próprio dinheiro. Nenhum aplicativo que testei contava do jeito que eu precisava, então fui atrás de fazer o meu. I built Norte to organize my own money. None of the apps I tried counted the way I needed, so I went and built my own.

Norte's main screen, highlighting the money left, the net balance and the cycle's reserve below it
Norte's forecast, projecting the balance for the next 60 days and flagging when it goes negative
Norte's subscriptions screen, with the total monthly cost and candidate subscriptions detected in the history

Quanto sobra depois da fatura e dos compromissos deste ciclo.What is left after the bill and this cycle's commitments.

as telas usam dados fictíciosthe screens use fictitious data

de onde vem o valorwhere the number comes from tela inícioscreen início

em contain the account
R$ 2.845,17
fatura reservadacard bill set aside
− R$ 1.124,30
compromissos deste ciclocommitments this cycle
− R$ 433,24
empréstimo do paidad's loan
R$ 173,24
presente da mãepresent for mom
R$ 180,00
banho do MaxMax's bath
R$ 80,00
disponível realactually available
R$ 1.287,63

A fatura fica reservada desde o começo do ciclo, e os compromissos são o que eu já sei que vou pagar e ainda não paguei. O que sobra é o que dá para gastar até o fechamento. The card bill is set aside from the start of the cycle, and the commitments are what I already know I will pay and have not paid yet. What is left is what there is to spend until it closes.

o que a previsão mostrawhat the forecast shows tela análisesscreen análises

caixa em conta hojecash in the account today
R$ 521,30
ponto mais apertadotightest point
≈ − R$ 1.734,60
previsto paraexpected on
27/setSep 27
saldo em 60 diasbalance in 60 days
≈ − R$ 1.245,80

A previsão parte do caixa de hoje, não do disponível. Neste cenário o saldo fica negativo em 27/set e não se recupera dentro dos sessenta dias. The forecast starts from today's cash, not from what is available. In this scenario the balance goes negative on Sep 27 and does not recover within the sixty days.

sobre as assinaturasabout the subscriptions tela planejarscreen planejar

assinaturas ativasactive subscriptions
5
custo mensal equivalenteequivalent monthly cost
R$ 236,90
vence nos próximos 30 diasdue in the next 30 days
R$ 124,90
no anoover a year
R$ 2.842,80

Ele também varre o histórico atrás de cobranças que se repetem e separa as candidatas a assinatura, cinco por enquanto, que eu confirmo uma a uma. It also sweeps the history for charges that repeat and sets aside the subscription candidates, five so far, which I confirm one by one.

ver o Norte em projetossee Norte in projects

O que mais vai encontrar aqui. What else you'll find here.