Set frame-title-format
to something like (:eval (let ((b (buffer-file-name))) (format "%s@%s" (file-name-nondirectory b) (file-name-directory b))))
.
Maybe what you are actually looking for is a different uniquification policy, though. This will affect the mode line, the actual buffer names, and (in many standard configurations) the frame title.